package cn.com.thinvent.dispatch.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (ModelDatasource)实体类
 *
 * @author makejava
 * @since 2023-08-09 17:19:39
 */
public class ModelDatasource implements Serializable {
    private static final long serialVersionUID = 127605633313098356L;
    /**
     * 序号
     */
    private Integer id;

    @Override
    public String toString() {
        return "ModelDatasource{" +
                "id=" + id +
                ", url='" + url + '\'' +
                ", port='" + port + '\'' +
                ", user='" + user + '\'' +
                ", pwd='" + pwd + '\'' +
                ", datastore='" + datastore + '\'' +
                ", dataTable='" + dataTable + '\'' +
                ", fileds='" + fileds + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    /**
     * 数据库url
     */
    private String url;
    /**
     * 端口号
     */
    private String port;
    /**
     * 用户名
     */
    private String user;
    /**
     * 密码
     */
    private String pwd;

    /**
     * 数据库
     */
    private String datastore;

    /**
     * 数据库表格
     */
    private String dataTable;
    /**
     * 字段
     */
    private String fileds;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getDataTable() {
        return dataTable;
    }

    public void setDataTable(String dataTable) {
        this.dataTable = dataTable;
    }

    public String getFileds() {
        return fileds;
    }

    public void setFileds(String fileds) {
        this.fileds = fileds;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDatastore() {
        return datastore;
    }

    public void setDatastore(String datastore) {
        this.datastore = datastore;
    }
}

